<style type="text/css">
p.menu a {
color: #000000;
background: #9955tt;
font: 12px Verdana;
text-decoration: none;
text-align: center;
border: 1px solid #000000;
padding: 1px 5px;
margin-right:1px;
}
p.menu a:hover {
background: #a0f3ac;
}
</style>

<body>
<p class="menu">
<a href="http://localhost/sf_casa/web/rlinux_abe.php/principal/menu">Menu Completo</a>
<a href="http://localhost/sf_casa/web/rlinux_abe.php/cobradors/create">Criar Cobrador(a)</a>
<a href="http://localhost/sf_casa/web/rlinux_abe.php/cobradors/busca">Buscar Cobrador(a)</a>
</p>
</body>

<?php
// auto-generated by sfPropelCrud
// date: 2007/10/26 10:28:47
?>
<h1>Cobradores Ativos</h1>

<table border="1">
<thead>
<tr>
  <th>Id</th>
  <th>Funcionário</th>
  <th>Ativo</th>
  <th>Criado em</th>
  <th>Atualizado em</th>
  <th>Usuário</th>
</tr>
</thead>
<tbody>
<?php foreach ($cobradorss as $cobradors): ?>
<tr>
   <td><?php echo link_to($cobradors->getId(), 'cobradors/show?id='.$cobradors->getId()) ?></td>
   <?php $idFunc = ($cobradors->getFuncionarioId()) ?>
   <td><?php $funcionarios = FuncionariosPeer :: retrieveByPk($idFunc); ?><b><?php echo $funcionarios->getNome() ?></b></td>
   <td><?php echo $cobradors->getAtivo() ?></td>
   <td><?php echo $cobradors->getCreatedAt() ?></td>
   <td><?php echo $cobradors->getUpdatedAt() ?></td>
   <td><?php echo $cobradors->getUsuarioId() ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
